{
  "_format": "hh-sol-artifact-1",
  "contractName": "ACLManager",
  "sourceName": "contracts/ACLManager.sol",
  "abi": [
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "newProtocolAdmin",
          "type": "address"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "constructor"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "bytes32",
          "name": "role",
          "type": "bytes32"
        },
        {
          "indexed": true,
          "internalType": "bytes32",
          "name": "previousAdminRole",
          "type": "bytes32"
        },
        {
          "indexed": true,
          "internalType": "bytes32",
          "name": "newAdminRole",
          "type": "bytes32"
        }
      ],
      "name": "RoleAdminChanged",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "bytes32",
          "name": "role",
          "type": "bytes32"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "account",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "sender",
          "type": "address"
        }
      ],
      "name": "RoleGranted",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "bytes32",
          "name": "role",
          "type": "bytes32"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "account",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "sender",
          "type": "address"
        }
      ],
      "name": "RoleRevoked",
      "type": "event"
    },
    {
      "inputs": [],
      "name": "DEFAULT_ADMIN_ROLE",
      "outputs": [
        {
          "internalType": "bytes32",
          "name": "",
          "type": "bytes32"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "PROTOCOL_ADMIN_ROLE",
      "outputs": [
        {
          "internalType": "bytes32",
          "name": "",
          "type": "bytes32"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "PROTOCOL_TRADER_ROLE",
      "outputs": [
        {
          "internalType": "bytes32",
          "name": "",
          "type": "bytes32"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "role",
          "type": "bytes32"
        }
      ],
      "name": "getRoleAdmin",
      "outputs": [
        {
          "internalType": "bytes32",
          "name": "",
          "type": "bytes32"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "role",
          "type": "bytes32"
        },
        {
          "internalType": "address",
          "name": "account",
          "type": "address"
        }
      ],
      "name": "grantRole",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "role",
          "type": "bytes32"
        },
        {
          "internalType": "address",
          "name": "account",
          "type": "address"
        }
      ],
      "name": "hasRole",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "protocolAdmin",
          "type": "address"
        }
      ],
      "name": "isProtocolAdmin",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "protocolTrader",
          "type": "address"
        }
      ],
      "name": "isProtocolTrader",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address[]",
          "name": "admins",
          "type": "address[]"
        }
      ],
      "name": "registerAdmins",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address[]",
          "name": "traders",
          "type": "address[]"
        }
      ],
      "name": "registerTraders",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "role",
          "type": "bytes32"
        },
        {
          "internalType": "address",
          "name": "account",
          "type": "address"
        }
      ],
      "name": "renounceRole",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "role",
          "type": "bytes32"
        },
        {
          "internalType": "address",
          "name": "account",
          "type": "address"
        }
      ],
      "name": "revokeRole",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes4",
          "name": "interfaceId",
          "type": "bytes4"
        }
      ],
      "name": "supportsInterface",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    }
  ],
  "bytecode": "0x608060405234801561001057600080fd5b50604051610e18380380610e1883398101604081905261002f916101b4565b6001600160a01b0381166100af5760405162461bcd60e51b815260206004820152603660248201527f41434c4d616e6765723a20636f6e7374727563746f723a206e657750726f746f60448201527f636f6c41646d696e2063616e2774206265207a65726f00000000000000000000606482015260840160405180910390fd5b6100b8816100be565b506101e4565b6100e87f0245b6cbab6b03e029f6c88bff9595f9f5c30170f52598c3459ee71476ad59c182610115565b6101127fed952c39cb37a90c9f8725fbb9af3856bfc30a297d0f80a41d158064388dce1882610115565b50565b6000828152602081815260408083206001600160a01b038516845290915290205460ff166101b0576000828152602081815260408083206001600160a01b03851684529091529020805460ff1916600117905561016f3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000602082840312156101c657600080fd5b81516001600160a01b03811681146101dd57600080fd5b9392505050565b610c25806101f36000396000f3fe608060405234801561001057600080fd5b50600436106100df5760003560e01c806391d148541161008c578063aee2bc8611610066578063aee2bc86146101f1578063d547741f14610218578063ed5d971e1461022b578063f11f08ad1461023e57600080fd5b806391d148541461019f5780639dd21d58146101d6578063a217fddf146101e957600080fd5b806336568abe116100bd57806336568abe146101525780634c4a85b514610165578063769662841461018c57600080fd5b806301ffc9a7146100e4578063248a9ca31461010c5780632f2ff15d1461013d575b600080fd5b6100f76100f2366004610948565b610251565b60405190151581526020015b60405180910390f35b61012f61011a36600461098a565b60009081526020819052604090206001015490565b604051908152602001610103565b61015061014b3660046109bf565b6102ea565b005b6101506101603660046109bf565b610314565b61012f7fed952c39cb37a90c9f8725fbb9af3856bfc30a297d0f80a41d158064388dce1881565b61015061019a3660046109eb565b6103a5565b6100f76101ad3660046109bf565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b6100f76101e4366004610a60565b610442565b61012f600081565b61012f7f0245b6cbab6b03e029f6c88bff9595f9f5c30170f52598c3459ee71476ad59c181565b6101506102263660046109bf565b610482565b6100f7610239366004610a60565b6104a7565b61015061024c3660046109eb565b6104e7565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f7965db0b0000000000000000000000000000000000000000000000000000000014806102e457507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6000828152602081905260409020600101546103058161055d565b61030f838361056a565b505050565b6001600160a01b03811633146103975760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c66000000000000000000000000000000000060648201526084015b60405180910390fd5b6103a18282610608565b5050565b7f0245b6cbab6b03e029f6c88bff9595f9f5c30170f52598c3459ee71476ad59c16103cf8161055d565b60005b8281101561043c5761042a7fed952c39cb37a90c9f8725fbb9af3856bfc30a297d0f80a41d158064388dce1885858481811061041057610410610a7b565b90506020020160208101906104259190610a60565b61056a565b8061043481610aa7565b9150506103d2565b50505050565b6001600160a01b03811660009081527f8ebb66891bd3b7fda375f5dcbf43f05005fb41c67d80c54c41408fa022ff5925602052604081205460ff166102e4565b60008281526020819052604090206001015461049d8161055d565b61030f8383610608565b6001600160a01b03811660009081527f470d9a804969143a014e78bc03db64e916f2eb0957f923ba2e0767d82a4c2920602052604081205460ff166102e4565b7f0245b6cbab6b03e029f6c88bff9595f9f5c30170f52598c3459ee71476ad59c16105118161055d565b60005b8281101561043c5761054b84848381811061053157610531610a7b565b90506020020160208101906105469190610a60565b610687565b8061055581610aa7565b915050610514565b61056781336106db565b50565b6000828152602081815260408083206001600160a01b038516845290915290205460ff166103a1576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556105c43390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16156103a1576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6106b17f0245b6cbab6b03e029f6c88bff9595f9f5c30170f52598c3459ee71476ad59c18261056a565b6105677fed952c39cb37a90c9f8725fbb9af3856bfc30a297d0f80a41d158064388dce188261056a565b6000828152602081815260408083206001600160a01b038516845290915290205460ff166103a15761070c8161074e565b610717836020610760565b604051602001610728929190610ae4565b60408051601f198184030181529082905262461bcd60e51b825261038e91600401610b65565b60606102e46001600160a01b03831660145b6060600061076f836002610b98565b61077a906002610baf565b67ffffffffffffffff81111561079257610792610bc2565b6040519080825280601f01601f1916602001820160405280156107bc576020820181803683370190505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106107f3576107f3610a7b565b60200101906001600160f81b031916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061083e5761083e610a7b565b60200101906001600160f81b031916908160001a9053506000610862846002610b98565b61086d906001610baf565b90505b60018111156108f2577f303132333435363738396162636465660000000000000000000000000000000085600f16601081106108ae576108ae610a7b565b1a60f81b8282815181106108c4576108c4610a7b565b60200101906001600160f81b031916908160001a90535060049490941c936108eb81610bd8565b9050610870565b5083156109415760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161038e565b9392505050565b60006020828403121561095a57600080fd5b81357fffffffff000000000000000000000000000000000000000000000000000000008116811461094157600080fd5b60006020828403121561099c57600080fd5b5035919050565b80356001600160a01b03811681146109ba57600080fd5b919050565b600080604083850312156109d257600080fd5b823591506109e2602084016109a3565b90509250929050565b600080602083850312156109fe57600080fd5b823567ffffffffffffffff80821115610a1657600080fd5b818501915085601f830112610a2a57600080fd5b813581811115610a3957600080fd5b8660208260051b8501011115610a4e57600080fd5b60209290920196919550909350505050565b600060208284031215610a7257600080fd5b610941826109a3565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201610ab957610ab9610a91565b5060010190565b60005b83811015610adb578181015183820152602001610ac3565b50506000910152565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351610b1c816017850160208801610ac0565b7f206973206d697373696e6720726f6c65200000000000000000000000000000006017918401918201528351610b59816028840160208801610ac0565b01602801949350505050565b6020815260008251806020840152610b84816040850160208701610ac0565b601f01601f19169190910160400192915050565b80820281158282048414176102e4576102e4610a91565b808201808211156102e4576102e4610a91565b634e487b7160e01b600052604160045260246000fd5b600081610be757610be7610a91565b50600019019056fea2646970667358221220e8f8c9538286cf3a34ec94edef4e01ebfbeb952fb6d280c14971f35d5b6f70a564736f6c63430008130033",
  "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100df5760003560e01c806391d148541161008c578063aee2bc8611610066578063aee2bc86146101f1578063d547741f14610218578063ed5d971e1461022b578063f11f08ad1461023e57600080fd5b806391d148541461019f5780639dd21d58146101d6578063a217fddf146101e957600080fd5b806336568abe116100bd57806336568abe146101525780634c4a85b514610165578063769662841461018c57600080fd5b806301ffc9a7146100e4578063248a9ca31461010c5780632f2ff15d1461013d575b600080fd5b6100f76100f2366004610948565b610251565b60405190151581526020015b60405180910390f35b61012f61011a36600461098a565b60009081526020819052604090206001015490565b604051908152602001610103565b61015061014b3660046109bf565b6102ea565b005b6101506101603660046109bf565b610314565b61012f7fed952c39cb37a90c9f8725fbb9af3856bfc30a297d0f80a41d158064388dce1881565b61015061019a3660046109eb565b6103a5565b6100f76101ad3660046109bf565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b6100f76101e4366004610a60565b610442565b61012f600081565b61012f7f0245b6cbab6b03e029f6c88bff9595f9f5c30170f52598c3459ee71476ad59c181565b6101506102263660046109bf565b610482565b6100f7610239366004610a60565b6104a7565b61015061024c3660046109eb565b6104e7565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f7965db0b0000000000000000000000000000000000000000000000000000000014806102e457507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6000828152602081905260409020600101546103058161055d565b61030f838361056a565b505050565b6001600160a01b03811633146103975760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c66000000000000000000000000000000000060648201526084015b60405180910390fd5b6103a18282610608565b5050565b7f0245b6cbab6b03e029f6c88bff9595f9f5c30170f52598c3459ee71476ad59c16103cf8161055d565b60005b8281101561043c5761042a7fed952c39cb37a90c9f8725fbb9af3856bfc30a297d0f80a41d158064388dce1885858481811061041057610410610a7b565b90506020020160208101906104259190610a60565b61056a565b8061043481610aa7565b9150506103d2565b50505050565b6001600160a01b03811660009081527f8ebb66891bd3b7fda375f5dcbf43f05005fb41c67d80c54c41408fa022ff5925602052604081205460ff166102e4565b60008281526020819052604090206001015461049d8161055d565b61030f8383610608565b6001600160a01b03811660009081527f470d9a804969143a014e78bc03db64e916f2eb0957f923ba2e0767d82a4c2920602052604081205460ff166102e4565b7f0245b6cbab6b03e029f6c88bff9595f9f5c30170f52598c3459ee71476ad59c16105118161055d565b60005b8281101561043c5761054b84848381811061053157610531610a7b565b90506020020160208101906105469190610a60565b610687565b8061055581610aa7565b915050610514565b61056781336106db565b50565b6000828152602081815260408083206001600160a01b038516845290915290205460ff166103a1576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556105c43390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16156103a1576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6106b17f0245b6cbab6b03e029f6c88bff9595f9f5c30170f52598c3459ee71476ad59c18261056a565b6105677fed952c39cb37a90c9f8725fbb9af3856bfc30a297d0f80a41d158064388dce188261056a565b6000828152602081815260408083206001600160a01b038516845290915290205460ff166103a15761070c8161074e565b610717836020610760565b604051602001610728929190610ae4565b60408051601f198184030181529082905262461bcd60e51b825261038e91600401610b65565b60606102e46001600160a01b03831660145b6060600061076f836002610b98565b61077a906002610baf565b67ffffffffffffffff81111561079257610792610bc2565b6040519080825280601f01601f1916602001820160405280156107bc576020820181803683370190505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106107f3576107f3610a7b565b60200101906001600160f81b031916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061083e5761083e610a7b565b60200101906001600160f81b031916908160001a9053506000610862846002610b98565b61086d906001610baf565b90505b60018111156108f2577f303132333435363738396162636465660000000000000000000000000000000085600f16601081106108ae576108ae610a7b565b1a60f81b8282815181106108c4576108c4610a7b565b60200101906001600160f81b031916908160001a90535060049490941c936108eb81610bd8565b9050610870565b5083156109415760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161038e565b9392505050565b60006020828403121561095a57600080fd5b81357fffffffff000000000000000000000000000000000000000000000000000000008116811461094157600080fd5b60006020828403121561099c57600080fd5b5035919050565b80356001600160a01b03811681146109ba57600080fd5b919050565b600080604083850312156109d257600080fd5b823591506109e2602084016109a3565b90509250929050565b600080602083850312156109fe57600080fd5b823567ffffffffffffffff80821115610a1657600080fd5b818501915085601f830112610a2a57600080fd5b813581811115610a3957600080fd5b8660208260051b8501011115610a4e57600080fd5b60209290920196919550909350505050565b600060208284031215610a7257600080fd5b610941826109a3565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201610ab957610ab9610a91565b5060010190565b60005b83811015610adb578181015183820152602001610ac3565b50506000910152565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351610b1c816017850160208801610ac0565b7f206973206d697373696e6720726f6c65200000000000000000000000000000006017918401918201528351610b59816028840160208801610ac0565b01602801949350505050565b6020815260008251806020840152610b84816040850160208701610ac0565b601f01601f19169190910160400192915050565b80820281158282048414176102e4576102e4610a91565b808201808211156102e4576102e4610a91565b634e487b7160e01b600052604160045260246000fd5b600081610be757610be7610a91565b50600019019056fea2646970667358221220e8f8c9538286cf3a34ec94edef4e01ebfbeb952fb6d280c14971f35d5b6f70a564736f6c63430008130033",
  "linkReferences": {},
  "deployedLinkReferences": {}
}